FROM python:3.7

RUN pip install fastapi uvicorn sqlalchemy mysql mysql-connector
WORKDIR /app
EXPOSE 80

COPY . /app

CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "80"]